<?php
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
?>
<table class="tabl table-condensed table-bordered" width="100%" >  
    <thead>  
        <tr>  
            <th>Mã sản phẩm</th>  
            <th>Tên sản phẩm</th>  
            <th>Giá</th>  
        </tr>  
    </thead>  
    <tbody> 
        <?php foreach ($model as $p): ?>
            <tr>  
                <td><?php echo $p['id']; ?></td>  
                <td><?php echo $p['name']; ?> </td>  
                <td><?php echo $p['price']; ?></td>  
            </tr>  
        <?php endforeach; ?>

    </tbody>  
</table>  
<hr>
<div class="btn-group">
    <a  href="#" class="btn-mini" >Gửi đơn hàng</a>
    <a href="<?php echo Yii::app()->createUrl('site/UnsetShop') ?>">Hủy đơn hàng</a>
</div>
<div>

</div>